package com.smh.service;

import com.smh.common.CommonResult;
import com.smh.entity.DeviceData;

import java.util.ArrayList;

public interface DeviceDataService {

    CommonResult<ArrayList<DeviceData>> queryAll();

    CommonResult<DeviceData> add(DeviceData device);

    CommonResult<DeviceData> update(DeviceData device);

    CommonResult<DeviceData> delete(Integer id);

    CommonResult<DeviceData> queryById(Integer id);
}
